package com.atomic.test.example.entity;

import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by DreamYao on 2017/1/24.
 */
@Entity
@Table(name = "t_board_manager")
@EntityListeners(AuditingEntityListener.class)
public class BoardManager extends AbstractEntity<Integer> implements Serializable {
    private static final long serialVersionUID = 6840178169453634182L;

    @Column(name = "board_id")
    private Integer boardId;
    @Column(name = "user_id")
    private Integer userId;

    public Integer getBoardId() {
        return boardId;
    }

    public void setBoardId(Integer boardId) {
        this.boardId = boardId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}
